tools/xl/bash-completion: also complete 'xen'
authorHans van Kranenburg <hans@knorrie.org>
Sun, 10 Feb 2019 17:26:45 +0000 (18:26 +0100)
committerHans van Kranenburg <hans@knorrie.org>
Wed, 27 Feb 2019 19:56:35 +0000 (20:56 +0100)
We have the `xen` alias for xl in Debian, since in the past it was a
command that could execute either xl or xm.

Now, it always does xl, so, complete the same stuff for it as we have
for xl.

Signed-off-by: Hans van Kranenburg <hans@knorrie.org>
debian/xen-utils-common.links
tools/xl/bash-completion

index 1ca21a921bf679bf7408c1ade6fd78970ee9ab03..bc0d44ada75b32e65c212e4901479cd249c3c2fb 100644 (file)
@@ -1 +1,2 @@
 usr/share/doc/xen/html usr/share/doc/xen-utils-common/html
+usr/share/bash-completion/completions/xl usr/share/bash-completion/completions/xen
index b7cd6b3992fa22f33ffe9d4851d122383ab8e319..a520b07e29141554f2bb0de7ece86cae582f0f50 100644 (file)
@@ -17,4 +17,4 @@ _xl()
        return 0
 }
 
-complete -F _xl -o nospace -o default xl
+complete -F _xl -o nospace -o default xl xen